using System.Collections;
using System.Collections.Generic;
using Spine.Unity;
using UnityEngine;
using UnityEngine.Serialization;

[CreateAssetMenu(fileName = "SpineTouchConfigSO", menuName = "SpineTouch/SpineTouchConfigSO")]
public class SpineTouchConfigSO : ScriptableObject
{
    [Header("骨骼数据")]
    public SkeletonDataAsset skeletonData;
    
    [Header("参数")]
    public List<FieldDefinition> definitions = new();
    
    [Header("默认动画")] 
    public SpineTouchAnimation defaultAnimation;

    [Header("动画播放优先级,默认按顺序")]
    public List<SpineAnimLayer> animLayerSortIndex = new ();
    
    [Header("交互配置")]
    public List<SpineTouchConfigGroup> configGroups = new ();

    [HideInInspector]
    public string lastEditSkeletonData;
    
}
